public class StartScreen
{
	char screen;
	
	String image;
	
	Butt pvpButt;
	Butt pvcButt;
	Butt cvcButt;	
	
	Butt quitButt;
	
	//MORE BUTTONS TBA	
	
	char [] gameType;
	
	Pic pic;
	
	public StartScreen()
	{
		screen = 't';
		
		gameType = new char[4];
		//[0] : p = PvP, v = PvC, c = CvC
		//[1] : player one character TBA
		//[2] : player two character TBA
		//[3] : board size, s = small, m = medium, l = large, t = TOO BIG
		
		
		pvpButt = new Butt(194, 265, 426, 56, "pvpButt.jpg");
		pvcButt = new Butt(197, 321, 485, 51, "pvcButt.jpg");
		cvcButt = new Butt(135, 373, 545, 53, "cvcButt.jpg");
		
		quitButt = new Butt(355, 480, 110, 58, "quitButt.jpg");
		
		//
		//MORE BUTTONS TBA
		//
		
		pic = new Pic("Menu\\titleScreen.jpg", 0, 0);
	}
	
	public char[] getGameType()
	{
		return gameType;
	}
	
	public void mouseMove(int mX, int mY)
	{
		if(screen == 't')
		{
			pvpButt.mouseMove(mX,mY);
			pvcButt.mouseMove(mX,mY);
			cvcButt.mouseMove(mX,mY);
			quitButt.mouseMove(mX,mY);	
		}
		
		//
		//STUFF FOR OTHER MENU SCREENS
		//
		
	}
	
	public char	click(int mX, int mY)
	{
		if(screen == 't')
		{
			if(pvpButt.isIn(mX, mY))
			{
				gameType[0] = 'p';
				gameType[3] = 'm';
				return 'g';
			}
			else if(pvcButt.isIn(mX, mY))
			{
				gameType[0] = 'v';
				gameType[3] = 'm';
				return 'g';
			}
			else if(cvcButt.isIn(mX, mY))
			{
				gameType[0] = 'c';
				gameType[3] = 'm';
				return 'g';
			}
			else if(quitButt.isIn(mX, mY))
			{
				gameType[0] = 'q';
				gameType[3] = 'm';
				return 'q';
			}
		}
		
		//
		//STUFF FOR OTHER MENU SCREENS TBA
		//
		
		return 't';
	}
	
	public Pic[] getPics()
	{
		if(screen == 't')
		{
			Pic[] pics = new Pic[5];
				
			pics[0] = pic;		
			pics[1] = pvpButt.getPic();
			pics[2] = pvcButt.getPic();
			pics[3] = cvcButt.getPic();
			pics[4] = quitButt.getPic();	
					
			return pics;
		}
		
		//
		//STUFF FOR OTHER MENU SCREEN TBA
		//
		
		Pic[] pics = new Pic[1];
		return pics;
	}
}